#! /bin/sh

XENO_TEST_IN="/tmp/xeno-test-in-$$"
XENO_TEST_OUT="/tmp/xeno-test-out-$$"

check_alive()
{
    echo check_alive ${1+"$@"} > "$XENO_TEST_OUT"
}

start_load()
{
    echo start_load > "$XENO_TEST_OUT"
}

wait_load()
{
    read rc < "$XENO_TEST_IN"
}

script="$1"; shift
. $script
